<template>
  <van-popup v-model="showTip" :close-on-click-overlay="false" @click-overlay="onCloseTip"
    class="invoice-select-bremind">
    <div class="close-tip">
      <i class="iconfont icon-icon_close" @click="onCloseTip"></i>
    </div>
    <div class="invoice-tip-title">
      等级会员折扣说明
    </div>
    <div class="invoice-tip-content">
      <p>
       1. 仅商家指定商品范围可享受会员折扣<br/>
        2.参与拼团、秒杀、限时折扣或超级会员折扣的商品，将不享受等级会员专属折扣
      </p>
    </div>
  </van-popup>
</template>
<script>
export default {
  props: {
    //是否显示发票提示
    showTip: {
      type: Boolean,
      default: false,
    },
  },
  methods: {
    //关闭提示弹窗
    onCloseTip() {
      this.$emit("closeTip");
    },
  },
};
</script>
<style lang="scss" scoped>
.invoice-select-bremind {
  width: 5.76rem;
  padding: 0.48rem;
  box-sizing: border-box;
  border-radius: .16rem;

  .close-tip {
    position: absolute;
    top: 0.32rem;
    right: 0.32rem;
    color: #666666;
  }
    .icon-icon_close{
        font-size: 0.48rem;
    }
  .invoice-tip-title {
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.16rem;
    font-size: 0.32rem;
    color: #333333;
  }

  .invoice-tip-content {
    color: #666666;
    font-size: 0.28rem;
    font-weight: 400;
  }

  
}
</style>
